$wave = Money2Wav (
<Number>, [Prefix], [Language], [Accent], [Delay] )
Money to Wave
converter stores currency data in human voice.
Parameters
[Language]
Language to be used. Default parameter is "ENG_US".
[Accent]
The type of accent - FALSE to cease or TRUE to continue. Default value is FALSE.
[Delay]
Pause in milliseconds between 2 consecutive wave files. Default value is 0.
Return Value
Converted currency
in human voice.
Remarks
- You can use
customized wave files with the artist’s name as filename prefix. To do customized
recording, you have to follow some standard rules.
- Xtend IVR supports 3 different flavors of English
language. Hence the language parameters will change accordingly. To support
- Indian English, give "ENG_IN"
- American English, give "ENG_US" or "ENG" or "ENGLISH"
- British English, give "ENG_UK"
Example
1) $wave = Money2wav (24)
Play $wave
$wave now contains "SRE_24.wav SREDollars.wav"
2) $Price = "54.56"
$wave = Money2wav ($Price,"SRE","ENG_IN")
Play $wave
$wave now contains SRE_54.wav SRE_Rupees.wav SRE_and.wav SRE_56.wav SREPais.wav"
3) $wave = Money2wav ("45.56","SRE","ENG",TRUE,3)
Play $wave
$wave now contains SRE_45.wav SRE_Dollars.wav SRE_and.wav SRE _56.wav SRECent.wav"